package com.zr.serviceimpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.AddorderdaoCH;
import com.zr.dao.CargostatusdaoCH;
import com.zr.service.AddorderserviceCH;

@Service("AddorderserviceCH")
public class AddorderserviceimplCH implements AddorderserviceCH {
	//属性注入
	@Resource
	private  AddorderdaoCH addorderdaoch;
	@Override
	public boolean addorders(String orSenderName, String orSenderPhone, String orSenderCompanyPhone, String orSenderAddr,
			String orRecipientName, String orRecipientPhone, String orRecipientCompanyPhone, String orRecipientAddr,
			String orItemName, int orItemNumber, String orPaymentMethod) {
		return addorderdaoch.addorder(orSenderName, orSenderPhone, orSenderCompanyPhone, orSenderAddr, orRecipientName, orRecipientPhone, orRecipientCompanyPhone, orRecipientAddr, orItemName, orItemNumber, orPaymentMethod);
	}

}
